package com.flyqiu.form.common.enums;

import com.flyqiu.common.enums.FlyQiuBaseIntegerEnum;

public enum FlyQiuFormDeploymentStatus implements FlyQiuBaseIntegerEnum {
    DRAFT("草稿", 0),
    PUBLISHED("已部署", 100);

    private final String label;
    private final Integer value;

    FlyQiuFormDeploymentStatus(String label, Integer value) {
        this.label = label;
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
